package control

import (
	_ "fmt"
	ut "dockerui/utils"
	"github.com/gin-gonic/gin"
)

func MachineInfoEndpoint(c *gin.Context) {
	c.JSON(200, gin.H{
		"Code": ut.SuccessCode,
		"Msg": ut.SuccessMsg,
		"Data": ut.GetMachineInfo(),
	})
}
